package com.adaxi.adc.business.manager.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 行程反馈表
 * @TableName adc-trip-feedback
 */
@TableName(value ="adc_trip_feedback")
@Data
public class TripFeedback implements Serializable {
    @TableField(exist = false)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Passenger passenger;
    /**
     * 反馈ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 乘客ID
     */
    @TableField(value = "passenger_id")
    private Long passengerId;

    /**
     * 乘客的行程ID
     */
    @TableField(value = "passenger_trip_id")
    private Long passengerTripId;

    /**
     * 车辆的行程ID
     */
    @TableField(value = "vehicle_trip_id")
    private Long vehicleTripId;

    /**
     * 反馈内容
     */
    @TableField(value = "feedback")
    private String feedback;

    /**
     * 反馈时间
     */
    @TableField(value = "timestamp")
    private Timestamp timestamp;

    /**
     * 逻辑删除状态字段: 0 表示未删除, 1 表示已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}